package com.woniuxy.huayoung.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 审核表
 * </p>
 *
 * @author dushen
 * @since 2021-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Verify {

    private static final long serialVersionUID=1L;

    /**
     * 审核id
     */
    private Integer id;

    /**
     * 审核类型
     */
    private Integer type;

    /**
     * 审核内容的id
     */
    private Integer contextId;

    /**
     * 审核结果
     */
    private String message;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 用户id
     */
    private Integer uid;

    public Verify(Integer type,Integer contextId, String message, Integer uid){
        this.type=type;
        this.contextId=contextId;
        this.message=message;
        this.uid = uid;
    }
}
